﻿<UserControl x:Class="CoolCodePFM.UI.Login"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="400" >
    <Grid x:Name="LayoutRoot" Background="White"   >

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100" />
            <ColumnDefinition Width="150" />
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition  Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <TextBlock Margin="2,3" Grid.Column="0" Grid.Row="1" TextWrapping="Wrap">User ID:</TextBlock>
        <TextBlock Margin="2,3" Grid.Column="0" Grid.Row="2" TextWrapping="Wrap">Pass Word:</TextBlock>
        <TextBox x:Name="txtUserID" Grid.Column="1" Grid.Row="1" Height="23" Width="120"></TextBox>
        <PasswordBox  x:Name="txtPwd" Grid.Column="1" Grid.Row="2" Height="23" Width="120"></PasswordBox >
        <TextBlock x:Name="lblErrUserID"  Margin="2,3" Grid.Column="2" Grid.Row="1" TextWrapping="Wrap" >*</TextBlock>
        <TextBlock x:Name="lblErrPwd" Margin="2,3" Grid.Column="2" Grid.Row="2" TextWrapping="Wrap">*</TextBlock>
        <Button x:Name="btnSubmit"  Grid.Column="1" Grid.Row="3" Content ="Submit" Width="80" Height="23"></Button>
        <HyperlinkButton  x:Name="btnRegedit"  Grid.Column="2" Grid.Row="3" Content ="Regedit" Width="80" Height="23" Margin="2,2,2,2"/>
        <TextBlock x:Name="lblErrMsg"  Margin="2,3" Grid.Column="0" Grid.Row="4" TextWrapping="Wrap" ></TextBlock>
    </Grid>
</UserControl>
